Skip to content

Conversation

@diederich
Copy link

Java's init methods are bridged as is and made swift compatible via the backticks.
At runtime though, this is forgotten and the java methods are looked up with the backticks.

This approach of fixing adds a @JavaMethod("init") annotation, which fixes the issue.

(Though I'm not sure if this shouldn't be fixed in the generated macro code. Open for suggestions!)

Java's `init` methods are bridged as is and made swift compatible
via the backticks.
At runtime though, this is forgotten and the java methods are looked up
_with_ the backticks.

This approach of fixing adds a `@JavaMethod("init")` annotation, which fixes
the issue.

(Though I'm not sure if this shouldn't be fixed in the generated macro code.
Open for suggestions!)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant